{template 'common/header'}
{template 'web/common'}
<style type="text/css">
    .tooltipbox {
        background: #f8f8f8;
         border: 1px solid #f8f8f8;
        color: #f8f8f8;
    }
</style>
<ul class="nav nav-tabs">
    <li {if $op == 'list'}class="active"{/if}>
    <a href="{php echo $this->createWebUrl('user',array('op'=>'list'))}" >用户列表</a>
    </li>
    <li {if $op == 'import'}class="active"{/if}>
    <a href="{php echo $this->createWebUrl('user',array('op'=>'import'))}" >导入兑换币</a>
    </li>
</ul>

<form action="" class="form-horizontal form" id="data_from" method="post" enctype="multipart/form-data" onsubmit="return formcheck()">
    <input type="hidden" name="id" value="{$item['id']}">
    <div class="panel panel-default">
        <div class="panel-heading" style="background-color: #D9EDF7">
            给学员导入兑换币
        </div>
        <div class="panel-body" style="width: 1022px;">
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label">选择文件</label>
                <div class="col-sm-9 col-xs-12">
                    <input type="file" class="pull-left btn-default" name="room">
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-3 col-md-2 control-label"></label>
                <div class="col-sm-9 col-xs-12">
                    <input type="submit" class="btn pull-left btn-primary" name="submit" value="导入">
                    <input type="hidden" name="token" value="{$_W['token']}" />
                    <a class="btn btn-primary" href="../addons/goouc_class/example/example_icon.xlsx" style="margin-left: 20px;">下载导入模板</a>
                </div>
            </div>
        </div>
    </div>
    <div class="col-sm-9 col-xs-12">
        <b>说明：</b><br>1、请先下载导入模板，然后按照模板样式添加数据。<br>2、模板中暂不支持图片
    </div>
</form>
{template 'common/footer'}
